package com.xhs.service.impl;

import com.xhs.service.AbstractLevelHandler;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @desc: 第一关
 * @projectName: tools-parent
 * @author: xhs
 * @date: 2022/12/5 10:36
 * @version: JDK 1.8
 */
@Slf4j
@Component
public class HandlerOneLevelImpl extends AbstractLevelHandler {

    /**
     * 处理业务逻辑
     *
     * @return
     */
    @Override
    public Boolean doService() {
        log.info("-------------------------第一关-------------------------");
        // 指向下一关
        nextLevelHandler.doService();
        return true;
    }
}
